package com.hainatong.jcmvvmbase.widget;

import android.widget.ImageView;
import com.hainatong.jcmvvmbase.R;


import android.app.Activity;
import android.app.Dialog;
import android.os.Bundle;
import androidx.annotation.NonNull;


public class FireManeuverDialog extends Dialog
{
    private ImageView btnClose;
    private Activity mContext;
    public FireManeuverDialog(@NonNull Activity context)
    {
        super(context);
        this.mContext = context;
    }


    @Override
    protected void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);


        setContentView( R.layout.layout_fire_dialog );
        btnClose = findViewById(R.id.btn_close);
        initView();
    }

    private void initView()
    {

        btnClose.setOnClickListener( v -> {

            hide();

        } );

    }


}
